﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Crawler.Common
{
    /// <summary>
    /// 全局常量或者配置设置
    /// </summary>
    public class Constant
    {
        public class AppSetting
        {
            /// <summary>
            /// 默认链接字符串
            /// </summary>
            public static string DefaultDataConstr = "server=localhost;port=33060;uid=root;pwd=888888;database=crawler";
            /// <summary>
            /// 默认Redis缓存链接字符串
            /// </summary>
            public static string DefaultRedisConstr = "127.0.0.1:6379";
            //public static string DefaultRedisConstr = "127.0.0.1:6380";

            /// <summary>
            /// 终端号
            /// </summary>
            public static int TerminalId = 1;
        }
    }
}
